In navigating the DOORS client the URL is seen in the module properties: https://<doors version>/dwa/rm/urn:rational:e68d65cc-be01-11e3-9c90-2b09e5af068c:1-390465871f686086-M-000444c2?doors.view=00000002 However it changes depending on which view is loaded: https://<doors version>//dwa/rm/urn:rational:e68d65cc-be01-11e3-9c90-2b09e5af068c:1-390465871f686086-M-000444c2?doors.view=00000003 https://<doors version>//dwa/rm/urn:rational:e68d65cc-be01-11e3-9c90-2b09e5af068c:1-390465871f686086-M-000444c2?doors.view=00000004 The Standard view shows this: It looks like the views are just indexed, does this index get incremented based on the order in which they are created? What I'm looking for specifically is what command do I use to get at the above. I'd like to run a script over many modules and can't find it in the DXL reference manual as far as how to get at the above, doesn't appear to be a view property? DOORSWizard - Wed Jan 20 13:27:27 EST 2016 |
Re: What is the DXL command for getting at the URL of a DOORS view?
Try using: To access the view URL, load that view first, and then use the above perm with module handle - you should be able to get the URL specific to that view. Hope that helps. |
Re: What is the DXL command for getting at the URL of a DOORS view? SudarshanRao - Thu Jan 21 01:44:02 EST 2016
Try using: To access the view URL, load that view first, and then use the above perm with module handle - you should be able to get the URL specific to that view. Hope that helps. Works like a charm! Thank you. I also found a nice function in the same area of the DXL manual called decodeResourceURL(string resourceURL, string &protocol, string& dbHost, int& dbPort, string& repositoryId, string& dbName, string& dbId, Item&, ModuleVersion&, string& viewName, int& objectAbsno) which allows you to parse out the individual pieces. |